<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新信息</title>
</head>
{% include 'menu.html' %}
<body>
<div>
<center>
<h1>新信息</h1>
{% if error %}
<p class="text-error">{{error}}</p>
{% endif %}
<form action="/new_message/" method="post">
<table>
<tr><td colspan="2"><hr /></td></tr>
<tr><td>发送给：</td><td>{{send_to}}<input 
{% if send_to %}
type="hidden"
{% else %}
type="text"
{% endif %}
 name="send_to" maxlength="30" value="{{send_to}}"/></td></tr>
<tr><td>标题：</td><td><input type="text" name="title"  size="30"/></td></tr>
<tr><td>内容：</td><td><textarea name="body" rows="6" cols="60"></textarea></td></tr>
<tr><td colspan="2"><input type="submit" value="发送信息" class="btn btn-primary" /></td></tr>
</table>
</form>
</center>
</div>
</body>
{% include 'tail.html' %}
</html>
